#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>

int main()
{
  int a = 12345;
  char buffer[1024];
  snprintf(buffer,sizeof(buffer),"%d",a);
  write(1,buffer,strlen(buffer));
  
  return 0;
}

























//#include <stdio.h>
//#define ONE (1<<1)
//#define TWO (1<<2)
//#define THREE (1<<3)
//#define FOUR (1<<4)
//#define FIVE (1<<5)
//void PrintText(int flags)
//{
//  if(flags & ONE)
//  {
//    printf("one\n");
//  }
//
//  if(flags & TWO)
//  {
//    printf("two\n");
//  }
//
//  if(flags & THREE)
//  {
//    printf("three\n");
//  }
//
//  if(flags & FOUR)
//  {
//    printf("four\n");
//  }
//  if(flags & FIVE)
//  {
//    printf("five\n");
//  }
//
//}
//
//
//int main()
//{
//  printf("==========================\n");
//  PrintText(ONE); 
//  printf("==========================\n");
//  PrintText(TWO);
//  printf("==========================\n");
//  PrintText(THREE);
//  printf("==========================\n");
//  PrintText(ONE | TWO);
//  printf("==========================\n");
//  PrintText(ONE | TWO | THREE);
//  printf("==========================\n");
//  PrintText(ONE | FIVE | FOUR);
//  printf("==========================\n");
//  return 0;
//}
